package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.PriceDto;
import com.hdax.dm.entity.scheduler.DmSchedulerSeatPrice;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class PriceDtoMapper {
    public abstract PriceDto toTarget(DmSchedulerSeatPrice scheduler);

    public abstract List<PriceDto> toTargets(List<DmSchedulerSeatPrice> schedulers);
}
